/**
* 作者: chenlingzhi
* 日期: 2023-04-12 17:45:54
* 备注: 活动明细表
*/
package com.motu.monstercity.server.game.commondata.act;

import io.vertx.core.json.JsonObject;

public class ActDetailModel {
	protected long id; // id
	protected long actId; // 活动id
	protected int sort; // 排序
	protected String param; // 参数

	public ActDetailModel() {
	}

	public ActDetailModel(JsonObject obj) {
		id = obj.containsKey("id") ? obj.getLong("id") : 0;
		actId = obj.containsKey("act_id") ? obj.getLong("act_id") : 0;
		sort = obj.containsKey("sort") ? obj.getInteger("sort") : 0;
		param = obj.containsKey("param") ? obj.getString("param") : "";
	}

	public long getId() {
		return id;
	}

	public long getActId() {
		return actId;
	}

	public int getSort() {
		return sort;
	}

	public String getParam() {
		return param;
	}

}
